package com.lbd.suggestion.bean;

import com.lbd.base.bean.AbstractEntity;
import lombok.*;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * Created by Yuanbo on 2016/9/26.
 * 投诉建议
 */
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@DynamicUpdate
@Entity
public class Suggestion extends AbstractEntity {
    @Column(name = "`type`")
    private Integer type;//int(10) NULL1:建议 2：投诉
    private String content;//text NULL反馈内容
    private String contactWay;//varchar(50) NULL联系方式
    private String picture;//varchar(36) NULL图片
    private String userId;//varchar(36)


}
